#include "kppch.h"

#include "primitive.h"
#include "material.h"

namespace kp {
	void MatteMaterial::ComputeScatteringFunctions(Intersection* si, 
		TransportMode mode, bool allowMultipleLobes) const {
		Spectrum r = Kd->evaluate(*si);
		si->bsdf->add(MakeRef<LambertianReflection>(r));
	}
}
